package lagou.model3.test3;

/**
 * 扑克牌类
 */
public class Card {
    private String num;
    //花色
    private String color;
    //摆放顺序
    private Integer order;

    public Card(String num, String color,Integer order) {
        this.num = num;
        this.color = color;
        this.order=order;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String toString() {
        return color+num;
    }
}
